package com.njwb.day03;

public class Test09 {
    public static void main(String[] args) {
        int i=10;
        int[] is=new int[5];
        System.out.println(i);//10
        System.out.println(is[3]);//0
        fn(i,is);
        System.out.println(i);//10
        System.out.println(is[3]);//30
    }

    //引用数据类型传值：传的是地址
    public static void fn(int i,int[] is){
        i+=1;
        is[3]=30;
    }
}
